<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<title>{$title}</title>

<link href="__PUBLIC__/Mobile/css/form.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/Mobile/css/mDialog/mdialog.css" rel="stylesheet" type="text/css">
<style type="text/css">
#bottom_info {position: relative;top: -3.8em;margin: 0 0.5em;padding: .8em 0;text-align: center;background-color: #18c178;color: #ffffff;border: medium hidden;border-radius: 0.1em;box-sizing: border-box;display: none;}
#bottom_info a {width: 100%;text-decoration: none;outline: none;}
#bottom_jump {position: relative;top: -3em;margin: 0 0.5em;padding: .8em 0;text-align: center;background-color: #62A9E3;color: #ffffff;border: medium hidden;border-radius: 0.1em;box-sizing: border-box;display: none;}
</style>

</head>
<body>

<div id="subjects">
		<form>
		<div class="form_ctrl page_head" id="1" title="乳腺癌筛查预约" style="color: white; background-color: gray;"><h2>{$title}</h2></div>
			
		<div class="form_ctrl page_text" id="2" title="">
			<p>您确认要退订筛查，请正确填写您筛查预约时的个人信息</p>
		</div>
		<div class="form_ctrl input_text" id="3" title="姓名">
			<label class="ctrl_title">姓名</label>
			<input type="text" name="user" value="" placeholder="请输入姓名">
		</div>
		<div class="form_ctrl input_text" id="4" title="联系电话">
			<label class="ctrl_title">联系电话</label>
			<input type="text" name="phone" value="" placeholder="请输入电话号码">
		</div>
		<div class="form_ctrl form_submit" id="9" title="确定预约">
			<label class="ctrl_title">点击按钮退订筛查预约</label>
			<input type="button" name="but_post" value="确认退订" style="color: white; background-color: rgb(255, 108, 0);">
		</div>
	</form>
</div>
<script src="__PUBLIC__/Mobile/js/form.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/Mobile/js/jquery.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/Mobile/js/mDialog/mdialog.min.js" type="text/javascript"></script>

</body>
</html>
<script type="text/javascript">
	$("input[name='but_post']").click(function(){
		var name = $("input[name='user']").val();
		var phone = $("input[name=phone]").val();
		$.post('{:U(yuyue/cancelyuyue)}',{name:name,phone:phone},function(re){
			if(re.state){
				mDialog(re.msg, {title: '警告!'});
				return;
			}
			mDialog(re.msg, {title: '警告!'});
		},'json');
	});
</script>